﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="NationalTeamInfoForm.aspx.cs" Inherits="FootBallMatchProject.Piography.Client.NationalTeamInfoForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:FormView ID="NationalTeamView" runat="server" Width="100%">
        <ItemTemplate>
            <table class="style1">
                <tr>
                    <td colspan="4" dir="rtl">
                        <asp:Image ID="Image1" runat="server" 
                                    
                            
                            ImageUrl='<%# "../../Images/NationalTeam_Logos/" + Eval("ID") + "/" + Eval("Logo") %>' />
                    </td>
                </tr>
                <tr>
                    <td dir="rtl">
                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("Name") %>' 
                                    Font-Bold="True"></asp:Label>
                    </td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label2" runat="server" Text="تاريخ التأسيس"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="Label4" runat="server" 
                                    Text='<%# System.DateTime.Parse(Eval("DateOfFoundation").ToString()).ToString("dd/MM/yyyy") %>'></asp:Label>
                    </td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label7" runat="server" Text="الموقع الرسمي"></asp:Label>
                    </td>
                    <td>
                        <asp:HyperLink ID="HyperLink1" runat="server" 
                                    NavigateUrl='<%# "http://" + Eval("OfficialWebSite") %>' 
                                    Text='<%# Bind("OfficialWebSite") %>'></asp:HyperLink>
                    </td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label5" runat="server" Text="المدرب"></asp:Label>
                    </td>
                    <td>
                        <asp:LinkButton ID="LinkButton1" runat="server" 
                                    CommandArgument='<%# Eval("CoachID") %>' 
                                    PostBackUrl='<%# "CoachInfoForm.aspx?ID=" + Eval("CoachID") %>' 
                                    Text='<%# Bind("CoatchName") %>'></asp:LinkButton>
                    </td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label14" runat="server" Text="الملعب"></asp:Label>
                    </td>
                    <td>
                        <asp:LinkButton ID="LinkButton3" runat="server" 
                                    CommandArgument='<%# Eval("StaduimID") %>' 
                                    PostBackUrl='<%# "StadiumInfoForm.aspx?ID=" + Eval("StaduimID") %>' 
                                    Text='<%# Bind("StaduimName") %>'></asp:LinkButton>
                    </td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" colspan="4">
                        <asp:Label ID="Label13" runat="server" Text='<%# Bind("GeneralInformation") %>' 
                            Width="100%"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label25" runat="server" Text="احصائيات الفريق هذا الموسم"></asp:Label>
                    </td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                    <td>
                                &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:DataList ID="StatisticsList" runat="server" Width="100%">
                            <ItemTemplate>
                                <table border="1" class="style1" dir="rtl" style="width: 100%">
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label22" runat="server" Text="فاز"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label23" runat="server" Text="تعادل"></asp:Label>
                                        </td>
                                        <td dir="rtl">
                                            <asp:Label ID="Label24" runat="server" Text="خسر"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label16" runat="server" ForeColor="#00CC00" 
                                                        Text='<%# Bind("Win") %>'></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label17" runat="server" ForeColor="#999999" 
                                                        Text='<%# Bind("Draw") %>'></asp:Label>
                                        </td>
                                        <td dir="rtl">
                                            <asp:Label ID="Label18" runat="server" ForeColor="Red" 
                                                        Text='<%# Bind("Lose") %>'></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                                &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:DataList ID="PlayerList" runat="server">
                            <HeaderTemplate>
                                <table class="style1">
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label27" runat="server" Text="اللاعبين"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <table class="style1">
                                    <tr>
                                        <td>
                                            <asp:LinkButton ID="LinkButton4" runat="server" 
                                                        CommandArgument='<%# Eval("PlayerID") %>' 
                                                        PostBackUrl='<%# "PlayerInfoForm.aspx?ID=" + Eval("PlayerID") %>' 
                                                        Text='<%# Bind("PlayerName") %>'></asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                                &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:Label ID="Label15" runat="server" Text="الفريق"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:Image ID="Image3" runat="server" 
                                    
                            
                            ImageUrl='<%# "../../Images/NationalTeam_Images/"  + Eval("ID") + "/"  + Eval("Image") %>' />
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:Label ID="Label10" runat="server" Text="لباس المنتخب"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:Image ID="Image2" runat="server" 
                                    
                            
                            ImageUrl='<%# "../../Images/NationalTeam_ColorImages/" + Eval("ID") + "/"  + Eval("ColorImage") %>' />
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
